const path = require('path')

const resolve = dir => path.resolve(__dirname, dir)

module.exports = {
  webpack: {
    alias: {
      '@': resolve('src'),
      'common' : resolve('src/common'),
      'components' : resolve('src/components'),
      'pages' : resolve('src/pages'),
      'services' : resolve('src/services'),
      'utils' : resolve('src/utils')
    }
  }
}